import { Entity } from "../../../../../Core/Module/Entity/Entity";
import { HttpListenerContext } from "../../../../../Core/System/Server/HttpListenerContext";
import { ETTask } from "../../../../../Support/Share/Lib/Async/ETTask";

export interface IHttpHandler {

    Handle(domain: Entity, context: HttpListenerContext): Promise<any>;

}

export class IHttpHandler {

    async Handle(domain: Entity, context: HttpListenerContext): Promise<any> {
        return ETTask.CompletedTask;
    }

}